<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>{% block title %}{{ application_name }}{% endblock %}</title>
    <link href="/static/css/base.css" rel="stylesheet" type="text/css"/>
    {% block head %}{% endblock %}
  </head>

  <body {% block bodyattributes %}{% endblock %}>
    {% block header %}
      <div id="header">
        <div class="login">
          {% if user %}
            <span class="item nickname">{{ user.nickname }}</span> |
            <span class="item"><a href="{{ logout_url }}">Sign out</a></span>
          {% else %}
            <span class="item"><a href="{{ login_url }}">Sign in</a></span>
          {% endif %}
        </div>
        <div class="title"><a href="/"><img src="/static/images/logo.png" alt="Treffen wir uns?"/></a></div>
      </div>
    {% endblock %}
    
<table>
	<tr>
		<td>
<!--			<script type="text/javascript">-->
<!--			google_ad_client = "pub-1212935977908190";-->
<!--			/* 120x600, created 5/13/08 */-->
<!--			google_ad_slot = "4820228142";-->
<!--			google_ad_width = 120;-->
<!--			google_ad_height = 600;-->
<!--			//-->
<!--			</script>-->
<!--			<script type="text/javascript"-->
<!--			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">-->
<!--			</script>-->
		</td>
		<td>
		    <div id="body">{% block body %}{% endblock %}</div>
		
		    <br />
		    user: {{ user }}
		    <br />
		    user.user_nickname: {{ user.user_nickname }}
		    <br />
		    user.email: {{ user.email }}
		    <br />
		    userdetail.timestamp: {{ userdetail.timestamp }}
		    <br />
		    userdetail.gender: {{ userdetail.gender }}
		    <br />
		    userdetail.sexuality: {{ userdetail.sexuality }}
		    <br />
		    userdetail.birthdate: {{ userdetail.birthdate }}
		    <br />
		    userdetail.birthdate.day: {{ userdetail.birthdate.day }}
		    <br />
		    userdetail.birthdate.month: {{ userdetail.birthdate.month }}
		    <br />
		    userdetail.birthdate.year: {{ userdetail.birthdate.year }}
		    <br />
		    userdetail.country: {{ userdetail.country }}
		    <br />
		    userdetail.city: {{ userdetail.city }}
		    <br />
		    searchfor.age_from: {{ searchfor.age_from }}
		    <br />
		    searchfor.age_to: {{ searchfor.age_to }}
		    <br />
		    searchfor.gender: {{ searchfor.gender }}
		    <br />
		    <a href="/">Main Page</a>
		    <br />
		    <a href="/userdetail">Userdetail</a>
		    <br />
		    <a href="/searchfor">Searchfor</a>
		    <br />
		    <a href="/match">Match</a>
		    <br />
		    <a href="/admin/users">Admin/Users</a>
		    <br />
		    <a href="{{ logout_url }}">Sign out</a>
		    <br />
		    <a href="{{ login_url }}">Sign in</a>
		    <br />
		</td>
	</tr>
</table>
    

    {% block footer %} {% endblock footer %}
  </body>
</html>